package com.imooc.o2o.service;

import java.util.List;

import com.imooc.o2o.dto.PersonInfoExecution;
import com.imooc.o2o.entity.PersonInfo;
import com.imooc.o2o.excptions.PersonInfoOperationException;

public interface PersonInfoService {
	public PersonInfo login(PersonInfo vo)throws Exception;
	
	PersonInfoExecution queryPersonInfoList(int pageIndex,int pageSize);
	
	PersonInfoExecution insertPerson(PersonInfo personInfo)throws PersonInfoOperationException;
	
	PersonInfoExecution deletePerson(long userId)throws PersonInfoOperationException;
	
	PersonInfo getPersonId(long userId)throws PersonInfoOperationException;
	
	PersonInfoExecution modifyPersonInfo(PersonInfo personInfo)throws PersonInfoOperationException;
}
